from django.urls import path, include
from rest_framework.routers import SimpleRouter
from . import views

router = SimpleRouter()
router.register('userinfo', views.LoginView, 'userinfo')
router.register('edit_userinfo', views.EditUserinfoView, 'edit_userinfo')
router.register('student_class', views.StudentClassView, 'student_class')
router.register('edit_class', views.EditStudentClassView, 'edit_class')
router.register('student_list', views.StudentListView, 'student_list')
router.register('edit_student', views.EditStudentView, 'edit_student')
router.register('teacher_index', views.TeacherIndexView, 'teacher_index')
router.register('visitors', views.VisitorView, 'visitors')

urlpatterns = [

]
urlpatterns += router.urls
